//��һ��
package interview.xunlei;
class Father {
    public Father()
    {
       System.out.println("Father!");
    }
    public void testA()
    {
       System.out.println("Father A");
    }
    public void testB()
    {
       System.out.println("Father B");
    }   
}

public class Children extends Father{
    public Children()
    {
       System.out.println("Childern");
    }
    public void testA()
    {
       System.out.println("Childern A");
    }
    public void testB()
    {
       System.out.println("Childern B");
    }   
    public static void main(String[] arg)
    {
    	Father father=new Children();
    	father.testA();
    	father.testB();
    }
}

